<%@ page contentType="text/html; charset=UTF-8" %>

<html>
<head>
	<title>样品类别更新</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Expires" content="0">
	<link href="${pageContext.request.contextPath}/css/css.css" rel=stylesheet>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/button_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/form_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/table_css.css" type="text/css">
	<link rel="stylesheet" href="${pageContext.request.contextPath}/css/pagetitle_css.css" type="text/css">
	<script language="javascript" src="${pageContext.request.contextPath}/script/validator.js"></script>
	<script type="text/javascript">
		function doSave(){
			if(!fieldIsNotEmpty(document.forms["sampleTypeForm"].sampleTypeName)){
				return;
			}
			if(!fieldIsNotEmpty(document.forms["sampleTypeForm"].sampleTypeCode)){
				return;
			}
			document.forms["sampleTypeForm"].submit();
		}
		function goback(){
			window.location = "${pageContext.request.contextPath}/baseinfo/sampleTypeManager.do?method=getSampleTypeList";
		}
	</script>
</head>
<body>
<form name="sampleTypeForm" method="POST" action="${pageContext.request.contextPath}/baseinfo/sampleTypeManager.do?method=modifySampleType">
<input type="hidden" name="sampleTypeId" value="${sampleType.sampleTypeId}"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
	<tr> 
	  <td width="22" class="page_titlebar_head">&nbsp;</td>
	  <td class="page_titlebar_bg" width="981">样品类别编辑</td>
	</tr>
</table>
<center>
<table width="80%" class="InputFrameMain" cellspacing="0" cellpadding="0" border="0" height="100">
  <tr> 
    <td colspan="4" class="table_unfold_titlebar_small_bg">&nbsp;&nbsp;<b>样品类别详细</b></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" id="sampleTypeName_TEXT">样品类别名称</td>
		<td>&nbsp;<input class="input" type="text" name="sampleTypeName" value="${sampleType.sampleTypeName}" maxlength="20"/></td>
		<td class="table_label" id="sampleTypeCode_TEXT">样品类别编号</td>
		<td>&nbsp;<input class="input" type="text" name="sampleTypeCode" value="${sampleType.sampleTypeCode}" maxlength="10"/></td>
  </tr>
  <tr class="InputFrameLine">
        <td class="table_label" id="memo_TEXT">备注</td>
		<td colspan="3">&nbsp;<textarea id="memo" name="memo" cols="60" rows="4">${sampleType.memo}</textarea></td>
  </tr>
  <tr class="InputFrameLine">
  	<td align="center" colspan="4"><input type="button" class="button_save" name="save_button" value="     保存" onclick="javascript:doSave()">
  	<input type="button" class="button_common_3" name="goback_button" value="返回" onclick="javascript:history.go(-1)" class="button_save"></td>
  </tr>
</table>
</center>
</form>
${message}
</body>
</html>
